﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdvertiserAddCampaignControl.ascx.cs" Inherits="Aandelendelen.Controls.AdvertiserAddCampaignControl" %>
<%@ Register Assembly="Aandelendelen" Namespace="Aandelendelen.Controls" TagPrefix="cc1" %>

<%@ Register src="BannerViewControl.ascx" tagname="BannerViewControl" tagprefix="uc2" %>

<asp:Panel ID="Panel1" runat="server" CssClass="common">
<table border="0" width="100%">
<tr>
<td width="50%"><p class="title">Campagne starten</p></td>
<td class="bannerview"><uc2:BannerViewControl ID="BannerViewControl1" runat="server" /></td>
</tr>
</table>
	<table>
		<tr>
			<td>
				<asp:Label ID="Label1" runat="server" Text="Banner url"></asp:Label></td>
			<td>
				<asp:TextBox ID="tbBannerUrl" runat="server" Text="http://" MaxLength="192" Width="256px"></asp:TextBox></td>
			<td>
				<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbBannerUrl" CssClass="error" Display="Dynamic">Verplicht veld</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td>
				<asp:Label ID="Label2" runat="server" Text="Doel url"></asp:Label></td>
			<td>
				<asp:TextBox ID="tbTargetUrl" runat="server" Text="http://" MaxLength="192" Width="256px"></asp:TextBox></td>
			<td>
			    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbTargetUrl" CssClass="error" Display="Dynamic">Verplicht veld</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td>
				<asp:Label ID="Label7" runat="server" Text="Aantal vertoningen x 1000"></asp:Label></td>
			<td>
				<asp:TextBox ID="tbNumber" runat="server" MaxLength="4" Width="64px"></asp:TextBox></td>
			<td>
				<asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="tbNumber"
					CssClass="error" Display="Dynamic" OnServerValidate="CustomValidator1_ServerValidate"
					ValidateEmptyText="True">Geen aantal opgegegeven</asp:CustomValidator>
			</td>
		</tr>		
		<tr>
			<td>
				<asp:Label ID="Label3" runat="server" Text="Korte omschrijving"></asp:Label></td>
			<td>
				<asp:TextBox ID="tbTooltip" runat="server" Text="" MaxLength="64" Width="256px"></asp:TextBox></td>
			<td>
			    <asp:Label ID="Label4" runat="server" Text="Wordt getoond als de bezoeker met de muis over de banner beweegt." Font-Size="X-Small"></asp:Label>
			</td>
		</tr>
		<tr>
			<td></td>
			<td>
				<br />
				<asp:Button ID="btnCheck" runat="server" Text="Controleer..."/>
			</td>
			<td></td>
		</tr>		
	</table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" CssClass="common">
	<p class="title">Campagne controleren</p>
		<table>
		<tr>
			<td>Klik op de banner om te testen.</td>
			<td>
                <asp:HyperLink ID="hprBanner" runat="server" Target="_blank"></asp:HyperLink>
			</td>
		</tr>
		<tr>
			<td>Aantal views: </td>
			<td>
                <asp:Label ID="lblViews" runat="server" Text=""></asp:Label>
			</td>
		</tr>
		<tr>
			<td>Kosten: </td>
			<td>
                <cc1:CurrencyLabel ID="lblCost" runat="server"></cc1:CurrencyLabel>
			</td>
		</tr>
		<tr>
			<td>
				<asp:Button ID="btnAkkoord" runat="server" Text="Akkoord"/>&nbsp;
				<asp:Button ID="btnChange" runat="server" Text="Wijzigen"/>
			</td>
			<td></td>
		</tr>
	</table>
</asp:Panel>
<asp:Panel ID="Panel3" runat="server" CssClass="common">
	<p class="title">Campagne geregistreerd</p>
	<span>
	Uw campagne is geregistreerd.<br /><br />
	U ontvangt binnen enkele ogenblikken een email met de betalingsgegevens. Zodra uw betaling is ontvangen wordt uw campagne geactiveerd.<br />
	<br />
	Hartelijk dank voor uw bestelling!
	</span>
</asp:Panel>